package com.jubaozan.service.platform.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * @ClassName PlatformSubmitVO
 * @Description 个体平台提交实体对象
 * @Author TanRuixiang
 * @Date 2020/9/17 16:52
 * @Version 1.0
 **/
@Data
@ApiModel(value = "个体平台提交实体对象", description = "个体平台提交实体对象")
public class PlatformSubmitVO implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotNull(message = "姓名不能为空")
    @ApiParam(value = "姓名", example = "陈金贵")
    private String name;

    @NotNull(message = "身份证号码不能为空")
    @ApiParam(value = "身份证号码", example = "456256355265525213")
    private String idcardNo;

    @NotNull(message = "身份证正面不能为空")
    @ApiParam(value = "身份证正面", example = "https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3926407720,2167302872&fm=26&gp=0.jpg")
    private String idcardFront;

    @NotNull(message = "身份证背面不能为空")
    @ApiParam(value = "身份证背面", example = "https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=3926407720,2167302872&fm=26&gp=0.jpg")
    private String idcardBack;

    @ApiParam(value = "过期时间", example = "2020-09-18")
    private LocalDate expireDate;

    @ApiParam(value = "是否通过实名认证:0:未实名认证 1:已实名认证", example = "0")
    private Boolean certificated;

    @NotNull(message = "unionid不能为空")
    @ApiParam(value = "unionid", example = "oqXaH0_pMwRsvVK9YSrbbV-v0BE0")
    private String unionid;
}
